 <script type="module" src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
<script>
	// #ifdef APP-PLUS
		 import checkappupdate from '@/utils/hotUpdata/wonyes-checkappupdate/wonyes/checkappupdate.js'
	// #endif
  export default {
	
    onLaunch: function() {
        uni.getSystemInfo({
        	success:(res)=>{
        		let tabh1= res.statusBarHeight
        		let deviceWidth=uni.getSystemInfoSync().windowWidth;
				let tabhHeight =Number(tabh)  + 82 +'rpx'
        		let tabh = (750 / deviceWidth) * Number(tabh1)  + 2
				// #ifdef MP-WEIXIN
					this.$store.commit('changetabhHeight','80rpx') 
					this.$store.commit('changetabh','80rpx')
				// #endif
				// #ifdef APP-PLUS
				  this.$store.commit('changetabhHeight',tabhHeight) 
				  this.$store.commit('changetabh',tabh+'rpx')
				// #endif
				// this.$store.commit('changetabhHeight',tabhHeight)
				// this.$store.commit('changetabh',tabh+'rpx')
        	}    
        })
		// #ifdef APP-PLUS
			checkappupdate.check({
			    title:'检测到有新版本!',
			    content:'请升级app到最新版本!',  
			    canceltext:'暂不升级',
			    oktext:"立即升级", 
			    api:'http://netsea.aucfan-cn.com/index/Versions/get_versions',
			    barbackground:"rgba(50,50,50,0.8)",//进度条背景色，默认灰色，可自定义rgba形式色值
			    barbackgroundactive:"rgba(32,165,58,1)"//进度条前景色色，默认绿色，可自定义rgba形式色值
			})
		 // #endif
    },
    onShow: function() {
		
      // console.log('App Show')
    }, 
    onHide: function() {
      // console.log('App Hide')
    } 
  }
</script>

<style lang="scss">
	::-webkit-scrollbar {
	display: none;
	}
	
	// u-image   图片加载失败显示的图片
	/deep/ .u-image__loading{
		position: inherit !important
	}
	page{
		color: #333;
		font-size: 28rpx;
		background: #F5F5F5;
	}
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	@import "@/static/myCss.scss"; 
</style>
